﻿using NExt.Core.Model.Base;

namespace NExt.form
{
    public class Checkbox : Checkbox<CheckboxEvents>
    {
    }

    public abstract class Checkbox<TEvents>: Field<TEvents>
        where TEvents : CheckboxEvents, new()
    {
        public string boxLabel { get; set; }
        public bool? checkedd { get; set; }
        public string inputValue { get; set; }
    }

    public class CheckboxEvents: FieldEvents
    {
        public IScript check { get; set; }
    }
}
